<?php
include 'konek.php';
if(isset($_POST['id']))
{
	$kelas=$_POST['kelas'];
	$id=$_POST['id'];
	$query=mysql_query("UPDATE kelas set kelas='$kelas' WHERE id='$id'");
	header('location:../tablekelas.php');
}
?>